package com.train.system.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.train.common.resp.PageResp;
import com.train.system.dto.trainstation.TrainStationDTO;
import com.train.system.resp.trainstation.TrainStationDetailResp;
import com.train.system.resp.trainstation.TrainStationListResp;
import com.train.system.resp.trainstation.TrainStationPageResp;
import com.train.system.resp.trainstation.TrainStationResp;
import com.train.system.dto.trainstation.TrainStationAddOrEditDTO;
import com.train.system.dto.trainstation.TrainStationPageDTO;
import com.train.system.po.TrainStationPO;

import java.util.List;

/**
 * @author baitiaojun
 * @description 针对表【trainStation(火车车站)】的数据库操作Service
 * @createDate 2025-02-20 16:32:30
 */
public interface TrainStationService extends IService<TrainStationPO> {

    void addOrEditTrainStation(TrainStationAddOrEditDTO trainStationAddOrEditDTO);

    PageResp<TrainStationPageResp> pageList(TrainStationPageDTO trainStationPageDTO);

    void remove(Long id);

    TrainStationDetailResp getTrainStationDetail(TrainStationDTO trainStationDTO);

    List<TrainStationResp> getTrainStationByCode(List<String> trainCodes);

    List<TrainStationListResp> getTrainStationListByTrainCodes(List<String> trainCodes);
}
